Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

[ART-5863] closure for Real Time team when OCP ships a kernel-rt #585

Closed

Conversation

sosiouxme
Copy link
Contributor

@sosiouxme sosiouxme commented Aug 9, 2023

... although it's really for any early kernel releases. This now follows up on trackers when we ship kernels (previously only cloned bugs were managed to completion). Trackers get links to the advisories that shipped their content, comments on the same, and closure.

I did some dry runs, and then live runs scoped to https://issues.redhat.com/browse/KMAINT-59 (see advisory link and comment there)

* clarify tracker issues vs jira bugs
* break down some long methods
* reverse "if not: else:" logic
Copy link
Contributor

@vfreex vfreex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally LGTM

@@ -303,10 +287,10 @@ def _new_jira_fields_from_bug(bug: Bug, ocp_target_version: str, kmaint_tracker:
is_flag=True,
default=False,
help="Update summary, description, etc for already cloned Jira bugs. Must be used with --clone")
@click.option("--comment",
@click.option("--update-tracker",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to update aos-cd-jobs for the new option name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* add logic both when searching for bugs to clone and when closing them
  out to also close, comment, and link advisories for related KMAINT trackers
* expand --comment flag to --update-tracker flag
* extract/expand more common logic to early_kernel.py
@sosiouxme sosiouxme changed the title [wip] [ART-5863] closure for Real Time team when OCP ships a kernel-rt [ART-5863] closure for Real Time team when OCP ships a kernel-rt Aug 10, 2023
@vfreex
Copy link
Contributor

vfreex commented Aug 10, 2023

/lgtm

@sosiouxme
Copy link
Contributor Author

moving over to openshift-eng/art-tools#9

@sosiouxme sosiouxme closed this Aug 10, 2023
@sosiouxme sosiouxme deleted the 20230706-kernel-rt-closeout branch August 15, 2023 14:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants